<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>坚持梦想-美胸汇MV</title>
    <style>
    </style>
</head>
<body>

<div class="video">
    <video
            id="videoALL"
            src="demo.mp4"
            poster="mv.jpg"
            preload="auto"
            webkit-playsinline="true"
            playsinline="true"
            x-webkit-airplay="allow"
            x5-video-player-type="h5"
            x5-video-player-fullscreen="ture"
            x5-video-orientation="portraint"
            style="object-fit:fill"
            width="100%"
            height="auto"
            controls="controls"
            controlslist="nodownload"
            preload="auto"
    >
    </video>


</div>
<script src="http://s0.qhimg.com/!249ce048/WeixinApi.js" type="text/javascript" charset="utf-8"></script>
<script>

    WeixinApi.ready(function(Api) {
    console.log("llll")
        // 微信分享的数据
        var wxData = {
            "appId": "", // 服务号可以填写appId
            "imgUrl" : "mv.jpg",
            "link" : "http://zhongkang.meibbc.com:8088/hoyidemo/reado.htm",
            "desc" : "美胸汇,坚持梦想,只为让你更美!",
            "title" : "坚持梦想-美胸汇MV"
        };
        // 分享的回调
        var wxCallbacks = {
            // 分享操作开始之前
            ready : function() {},
            cancel : function(resp) {},
            fail : function(resp) {},
            confirm : function(resp) {},
            all : function(resp) {
                location.href=location.href
            }
        };

        // 点击分享到朋友圈，会执行下面这个代码
        Api.shareToTimeline(wxData, wxCallbacks);
    });
</script>
</body>
</html>
